package com.jiangchuang.domain.response;

import com.jiangchuang.domain.entity.Step;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author: jmk
 * @Date: 2024/6/17 10:37
 */
@Data
public class GetDishByIdRes {
    private Integer id;
    private String name;
    @ApiModelProperty(value = "菜品封面")
    private String cover;
    @ApiModelProperty(value = "点菜次数")
    private Integer num;
    @ApiModelProperty(value = "菜品种类id")
    private Integer typeId;
    @ApiModelProperty(value = "菜品种类")
    private String type;
    private Float price;
    @ApiModelProperty(value = "菜品所有者id")
    private Integer uid;
    @ApiModelProperty(value = "用户昵称")
    private String username;
    @ApiModelProperty(value = "用户头像")
    private String portraitUrl;
    @ApiModelProperty(value = "菜品步骤")
    private List<Step> steps;
    private String mark;
    private LocalDate createTime;
}
